package c.h.a.a0;

import android.content.Context;
import android.os.Bundle;
import c.h.a.v.b;
import com.huawei.hms.analytics.HiAnalytics;

/* compiled from: ChannelServer */
public final class a implements b {
    public final /* synthetic */ Context a;

    public a(Context context) {
        this.a = context;
    }

    public void a(String str) {
        HiAnalytics.getInstance(this.a).onEvent(str, new Bundle());
    }

    public void b(String str, String str2) {
        HiAnalytics.getInstance(this.a).setUserProfile(str, str2);
    }

    public void c(String str, Bundle bundle) {
        HiAnalytics.getInstance(this.a).onEvent(str, bundle);
    }

    public void setEnabled(boolean z) {
        HiAnalytics.getInstance(this.a).setAnalyticsEnabled(z);
    }
}
